package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {
    /**
     * 远程调用失败的处理方法
     */
    @Override
    public Result getAlbumInfo(Long albumId) {
        System.out.println("远程获取AlbumInfo信息失败");
        return null;
    }

    @Override
    public Result<AlbumStatVo> getAlbumStat(Long albumId) {
        System.out.println("远程获取AlbumStat信息失败");
        return null;
    }

}
